﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sudoku
{
    class Node
    {
        public int value;
        public Node nParent;
        public Node[] lChild;

        public Node(Node nParent = null)
        {
            lChild = new Node[9];
            this.nParent = (nParent!=null ? nParent : null);
            value = 0;
        }

        public bool isChildsFull()
        {
            for (int i = 0; i < lChild.Length; i++)
                if (lChild[i] == null)
                    return false;
            return true;
        }
    }
}
